﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Nhom14_HTTTHD_BuyMe
{
    public partial class mywatchlist : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // danh sách web site
            List<int> lw = (List<int>)Session["wlist"];
            foreach(int i in lw)
            {
                string s = "<li><a href='details.aspx?id=" + i.ToString() + "'> ID :" + i.ToString() + "</a></li>";
                watchlist_w.InnerHtml += s;
            }
            // danh sách domain
            List<int> ld = (List<int>)Session["dlist"];
            foreach (int i in ld)
            {
                string s = "<li><a  href='detaildomain.aspx?id=" + i.ToString() + "'> ID :" + i.ToString() + "</a></li>";
                watchlist_d.InnerHtml += s;
            }
        }
    }
}